package com.huixuebao.after.util;


public class MFileUtil {

    public static String getExp(String fileName) {
        int index = fileName.lastIndexOf(".");
        if (index == -1) {
            return "jpg";
        }
        String exp = fileName.substring(index + 1);
        return exp;
    }
}
